package org.alex.samples.service;

import java.util.List;
import java.util.Map;

import org.alex.samples.model.ExamSubjectVO;
import org.alex.samples.model.ExamTest;
import org.alex.samples.model.ExamTestTypeVO;
import org.alex.samples.model.ExamTestVO;

public interface ITestService {

	List<ExamTestVO> loadAllTest();

	List<ExamTest> findAll();

	void add(ExamTest examTest) throws Exception;

	void edit(ExamTest examTest) throws Exception;

	void delete(Integer id) throws Exception;

	List<ExamTest> findNameAndType();

	ExamTestVO getTestForId(Integer id);

	//List<ExamTestTypeVO> getTestType();

	List<ExamSubjectVO> getSubject();

	void addTest(ExamTestVO examTestVO) throws Exception;

	public Map<Integer, List<ExamTestVO>> getTestListBySubject(Integer subId, String userId);

	public List<ExamTestVO> getTestListBySubjectExample(Integer subId, String id);

}
